package com.example.spindrift.dao;

import com.example.spindrift.models.SysSong;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShareMapper {
    List<SysSong> getShareSongByUser(Integer userId);
    Integer deleteShareSongByIds(@Param("userId") Integer userId, @Param("songIds") String songIds);
    List<SysSong> searchShare(@Param("userId") Integer userId,@Param("keyword") String keyword);
}
